import request from '@/utils/request'

// 查询J魔方数据包列表
export function listJmfDataPackage(query) {
  return request({
    url: '/package/jmfDataPackage/list',
    method: 'get',
    params: query
  })
}

// 查询J魔方数据包详细
export function getJmfDataPackage(id) {
  return request({
    url: '/package/jmfDataPackage/' + id,
    method: 'get'
  })
}

// 保存J魔方数据包
export function saveJmfDataPackage(data) {
  return request({
    url: '/package/jmfDataPackage/save',
    method: 'post',
    data: data
  })
}

// 删除J魔方数据包
export function delJmfDataPackage(id) {
  return request({
    url: '/package/jmfDataPackage/' + id,
    method: 'delete'
  })
}

// 导出J魔方数据包
export function exportJmfDataPackage(query) {
  return request({
    url: '/package/jmfDataPackage/export',
    method: 'get',
    params: query
  })
}
